package Jvm.Method;

import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;

public class ReferenceDome {

    public static void main(String[] args) {

        SoftReference<String> stringSoftReference = new SoftReference<>("sss");

        WeakReference<String> stringWeakReference = new WeakReference<>("123");


//        StrongReference

    }

}
